package com.bw.paper.mvp.contact;

import com.bw.paper.mvp.base.model.BaseEntity;
import com.bw.paper.mvp.base.model.IModel;
import com.bw.paper.mvp.base.view.IView;

import java.util.Map;

import io.reactivex.Observable;

public interface LREContract {
    interface ILREModel extends IModel{
        Observable<BaseEntity> requestAll(Map<String,Object>...maps);
        Observable<BaseEntity> request_refresh_laod(Map<String,Object>map);
    }
    interface ILREView extends IView{
        void refreshAll(BaseEntity entity);
        void refreshRecyckerView(BaseEntity entity);
        void loadMoreRecyclerView(BaseEntity entity);
    }
}
